package com.idlecode.bean;

import java.util.Date;
import java.util.List;

/**
 * 数据表
 */
public class TableEntity {
	private Long id;
	/**
	 * 表名
	 */
	private String tableName;
	/**
	 * 实体类名称
	 */
	private String className;
	/**
	 * 功能名
	 */
	private String tableComment;
	/**
	 * 项目包名
	 */
	private String packageName;
	/**
	 * 项目版本号
	 */
	private String version;
	/**
	 * 作者
	 */
	private String author;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 后端生成路径
	 */
	private String backendPath;
	/**
	 * 模块名
	 */
	private String moduleName;
	/**
	 * 功能名
	 */
	private String functionName;
	/**
	 * 生成方式 1：zip压缩包 2：自定义目录
	 */
	private Integer generatorType;
	/**
	 * 数据源ID
	 */
	private Long datasourceId;
	/**
	 * 基类ID
	 */
	private Long baseclassId;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private String updateTime;
	/**
	 * 字段列表
	 */
	private List<TableFieldEntity> fieldList;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getBackendPath() {
		return backendPath;
	}

	public void setBackendPath(String backendPath) {
		this.backendPath = backendPath;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getFunctionName() {
		return functionName;
	}

	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}

	public Long getDatasourceId() {
		return datasourceId;
	}

	public void setDatasourceId(Long datasourceId) {
		this.datasourceId = datasourceId;
	}

	public Long getBaseclassId() {
		return baseclassId;
	}

	public void setBaseclassId(Long baseclassId) {
		this.baseclassId = baseclassId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public List<TableFieldEntity> getFieldList() {
		return fieldList;
	}

	public void setFieldList(List<TableFieldEntity> fieldList) {
		this.fieldList = fieldList;
	}

	public Integer getGeneratorType() {
		return generatorType;
	}

	public void setGeneratorType(Integer generatorType) {
		this.generatorType = generatorType;
	}
}
